package com.ss.android.auto.utils;

import android.os.Handler;
import android.os.Looper;

public class HandlerUtils {
    private static Handler sMainHandler = new Handler(Looper.getMainLooper());

    public static Handler getMainHandler() {
        return sMainHandler;
    }

    public static boolean isMainThread() {
        return Looper.getMainLooper() == Looper.myLooper();
    }
}
